#ifndef LINKQUEUE_H_
#define LINKQUEUE_H_
#include "../adt.h"
typedef int QElemType;

typedef struct QNode
{
    QElemType data;
    struct QNode *next;
} QNode, *QueuePtr;

typedef struct
{
    QueuePtr front, rear;
} LinkQueue;

/*EnQueue*/
Status EnQueue(LinkQueue *Q, QElemType e);

/*DeQueue*/
Status DeQueue(LinkQueue *Q, QElemType *e);
#endif